package com.gtt.pattern.structural.decorator;

/**
 * ConcreteDecorator
 * 
 * @author 高甜甜(gao12581@sina.com)
 * @date 2011-3-31
 * 
 */
public class ConcreteDecorator extends Decorator {

	private String name;

	public ConcreteDecorator(String name) {
		this.name = name;
	}

	@Override
	public void draw() {
		customize();
		super.draw();
	}

	private void customize() {
		System.out.println("In Concrete Decorator: decoration goes here");
		System.out.println(this.name);
	}
}
